<template>
    <div class="login">
        <div class="loginFlat">
            <h1>用户登录</h1>
            <el-form>
                <el-form-item label="账号:">
                    <el-input v-model="user.id"></el-input>
                </el-form-item>
                <el-form-item label="密码:">
                    <el-input     type="password" v-model="user.password" show-password></el-input>
                </el-form-item>
            </el-form>
            <el-button @click="gotohome">登录 </el-button>
            <el-button @click="regist">没有账号？</el-button>
            <el-button @click="tview">游客浏览</el-button>
    </div>
  </div>
</template>

<script>

</script>


